<?php
class CommonFuncAction extends Action{

	//校验用户是否登陆
	static function checkUser(){
	    if(!session('info')){
	        redirect('/Console/login');
	        exit();
	    }
    }

}
?>